//
//  ViewController.m
//  Demo_String
//
//  Created by apple on 2020/3/9.
//  Copyright © 2020 apple. All rights reserved.
//

#import "ViewController.h"
#import "AppString.h"


// Hopper Disassembler 通过将汇编代码转成伪代码

static unsigned char _K66594b6gb8b21831396[] = {0x32,0x26,0x7f,0x3e,0x3c,0x3c,0x30,0x2a,0x31,0x2b,0x7f,0x36,0x2c,0x7f,0x1e,0x33,0x30,0x31,0x3a,0x12,0x30,0x31,0x34,0x3a,0x26,0x73,0x7f,0x32,0x26,0x7f,0x2f,0x3e,0x2c,0x2c,0x28,0x30,0x2d,0x3b,0x7f,0x36,0x2c,0x7f,0x2e,0x28,0x3a,0x2d,0x5f};
static EncodedString _K66594b6gb8b218 = { (char *)_K66594b6gb8b21831396, sizeof(_K66594b6gb8b21831396)};

static unsigned char _36V486582v6T73f72650[] = {0x47,0x22,0x62};
static EncodedString _36V486582v6T73f = { (char *)_36V486582v6T73f72650, sizeof(_36V486582v6T73f72650)};

static unsigned char _rVxAcPehwQTh82izupNI[] = {0x36,0x22,0x7b,0x3a,0x38,0x38,0x34,0x2e,0x35,0x2f,0x7b,0x32,0x28,0x7b,0x1a,0x37,0x34,0x35,0x3e,0x16,0x34,0x35,0x30,0x3e,0x22,0x77,0x7b,0x36,0x22,0x7b,0x2b,0x3a,0x28,0x28,0x2c,0x34,0x29,0x3f,0x7b,0x32,0x28,0x7b,0x2a,0x2c,0x3e,0x5b};
static EncodedString _rVxAcPehwQTh82i = { (char *)_rVxAcPehwQTh82izupNI, sizeof(_rVxAcPehwQTh82izupNI)};

static unsigned char _O5293K8W3C4877167063[] = {0x46,0x10,0x63};
static EncodedString _O5293K8W3C48771 = { (char *)_O5293K8W3C4877167063, sizeof(_O5293K8W3C4877167063)};

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    NSString *str1 = DecodeOcString(&_K66594b6gb8b218); //@"my account is AloneMonkey, my password is qwer";
    NSLog(DecodeOcString(&_36V486582v6T73f), str1);
    
    char* cstr1 = DecodeCString(&_rVxAcPehwQTh82i); // @"my account is AloneMonkey, my password is qwe";
    NSLog(DecodeOcString(&_O5293K8W3C48771), cstr1);
    
    NSString *str = @"my account is AloneMonkey, my password is qwer";
    NSLog(@"%@", str);
    
    char* cstr = @"my account is AloneMonkey, my password is qwe";
    NSLog(@"%s", cstr);
}


@end
    
